package com.terrynoya.fight.evaluation.token
{
	import com.terrynoya.fight.evaluation.TokenData;
	import com.terrynoya.fight.evaluation.token.matcher.IMatcher;
	import com.terrynoya.fight.evaluation.token.matcher.IsNumberMatcher;
	
	public class NumberData extends TokenData
	{
		public function NumberData()
		{
			super(new IsNumberMatcher());
		}
		
		public function getNumber(input:String):Number
		{
			return Number(input);	
		}
	}
}